package org.dromara.web.controller.app.req;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "发起聊天的请求体")
@Data
public class ChatBody {

    @Schema(description = "会话ID")
    private String sessionId;


    @Schema(description = "智能体Id")
    private Long agentId;

    @Schema(description = "消息内容")
    @NotNull
    private String message;

    @Schema(description = "Base64格式的图片, 需要带上前缀 data:image/png,")
    private String image;

    @Schema(description = "模型ID")
    private Long modelId;

    @Schema(description = "提示词")
    private String prompt;


    @Schema(description = "是否重新提问")
    private Boolean refresh;

    @Schema(description = "是否开启全网搜索")
    private Boolean network;

    @Schema(description = "文件原名")
    private String fileName;
    @Schema(description = "上传文件返回的ID")
    private String fileId;
    @Schema(description = "文件大小")
    private Long fileSize;
    @Schema(description = "引用资料")
    private String referencesJson;

    @Schema(description = "语言")
    private String appLocale;
}
